package com.gzhryc.net_marketing.cloud.business.dao.db;

import com.gzhryc.jdbc.annotaion.Column;
import com.gzhryc.jdbc.annotaion.Id;
import com.gzhryc.jdbc.annotaion.Table;

import java.util.Date;

/**
 * 团拼支付订单日志
 * @version 2022-1-16
 */
@Table(name = "pay_goods_order_log")
public class PayGoodsOrderLog {

    @Id(auto = false)
    @Column(name="trade_no",notNull = true,length = 32)
    protected String tradeNo;

    @Column(name = "logs_content", type = "TEXT")
    protected String logsContent;

    @Column(name = "lock_state",defVal = "1",note = "修改锁定")
    protected Integer lockState;

    @Column(name = "update_date", autoUpdateTime = true)
    protected Date updateDate;

    @Column(name = "create_date")
    protected Date createDate;

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getLogsContent() {
        return logsContent;
    }

    public void setLogsContent(String logsContent) {
        this.logsContent = logsContent;
    }

    public Integer getLockState() {
        return lockState;
    }

    public void setLockState(Integer lockState) {
        this.lockState = lockState;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
